﻿using RabbitMQ_Producer.Direct;
using RabbitMQ_Producer.FanOut;
using RabbitMQ_Producer.Topic;
using System;
using System.Threading.Tasks;

namespace RabbitMQ_Producer
{
    class Program
    {
        static void Main(string[] args)
        {
            //SamplePreducer.SendMessage();
            //FanoutProducer.SendMessage();
            //DirectProducer.SendMessage();
            for (int i = 0; i < 1000; i++)
            {
                DirectProducer.SendMessage(i.ToString());
                FanoutProducer.SendMessage(i.ToString());
                TopicProducer.SendMessage(i.ToString());
            }
        }
    }
}
